package com.loadagent.core;

import java.lang.instrument.*;

public class Agent {
    public static void premain(final String args, final Instrumentation inst) {
        System.out.println();
        System.out.println("=========================================================");
        System.out.println("=              Welcome to the MES program               =");
        System.out.println("=========================================================");
        System.out.println();
        if (inst != null) {
            final AgentTransformer tran = new AgentTransformer();
            inst.addTransformer(tran);
        }
    }
}